package com.briup.cms.service;
import com.briup.cms.bean.Facility;
import com.briup.cms.exception.CustomerException;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface IFacilityService {

    void checkFacility(int id, int status) throws CustomerException;

    // 分页查询所有设施
    PageInfo<Facility> pageQuery(int pageNum, int pageSize, String keywords);

    List<Facility>findAll();

    void saveOrUpdate(Facility facility);
    // 通过id删除
    void deleteById(int id) throws CustomerException ;

    // 删除用户
    void batchDelete(int[] ids) throws CustomerException;


}
